<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">

<title>TParser</title>
<link rel="stylesheet" href="../fpdoc.css" type="text/css">

</head>
<body>
<table class="bar" width="100%" border="0" cellpadding="4" cellspacing="0">
<tr>
<td><b>[<a href="../parsers/index.html">Overview</a>][<a href="../parsers/index-4.html">Classes</a>][<a href="../parsers/index-8.html">Index</a>]</b></td>
<td align="right"><span class="bartitle">Reference for unit 'Parsers' (<a href="../index.html">#FPDOCP</a>)</span></td>
</tr>
</table>
<h1>TParser</h1>
<p>[<a href="../parsers/tparser-1.html" onClick="window.open('../parsers/tparser-1.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">Properties</a> (<a href="../parsers/tparser-2.html" onClick="window.open('../parsers/tparser-2.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">by Name</a>)] [<a href="../parsers/tparser-3.html" onClick="window.open('../parsers/tparser-3.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">Methods</a> (<a href="../parsers/tparser-4.html" onClick="window.open('../parsers/tparser-4.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">by Name</a>)] [<a href="../parsers/tparser-5.html" onClick="window.open('../parsers/tparser-5.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">Events</a> (<a href="../parsers/tparser-6.html" onClick="window.open('../parsers/tparser-6.html', 'list', 'dependent=yes,resizable=yes,scrollbars=yes,height=400,width=300'); return false;">by Name</a>)] </p>
<p>Code parser for a single source file, find FPDOCP comments and create XML entries for FPDOCP</p>
<h2>Declaration</h2>
<p>Source position: Parsers.pas line 77</p>
<table cellpadding="0" cellspacing="0">
<tr>
<td><p><tt><span class="code"><span class="kw">type</span> TParser <span class="sym">=</span> <span class="kw">class</span><span class="sym">(</span>TStringList<span class="sym">)</span></span></tt></p></td>
</tr>
<tr>
<td><p><tt><span class="code"><span class="kw">protected</span></span></tt></p></td>
</tr>
<tr>
<td valign="top"><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">function </span><a href="../parsers/tparser.prefixvalue.html">PrefixValue</a><span class="sym">();</span></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Return TRUE if string AStr start with given prefix APrefix, fill AValue with content of AStr after this prefix</p></td>
</tr>
<tr>
<td valign="top"><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">function </span><a href="../parsers/tparser.fixelements.html">FixElements</a><span class="sym">();</span></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Replace HTML entities and other special chars, change charset, end of lines</p></td>
</tr>
<tr>
<td valign="top"><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">function </span><a href="../parsers/tparser.processseealso.html">ProcessSeeAlso</a><span class="sym">();</span></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Create links for "seealso foo,bar,zzz" comma-separated elements</p></td>
</tr>
<tr>
<td valign="top"><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">function </span><a href="../parsers/tparser.detectelementname.html">DetectElementName</a><span class="sym">();</span></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Detect element name from procedure, function, method, class, type, variable or constants</p></td>
</tr>
<tr>
<td><p><tt><span class="code"><span class="kw">public</span></span></tt></p></td>
</tr>
<tr>
<td valign="top"><p><tt><span class="code">&nbsp;&nbsp;<span class="kw">function </span><a href="../parsers/tparser.parse.html">Parse</a><span class="sym">();</span><span class="kw"> virtual</span><span class="sym">;</span></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Main parser function, load source file and generate XML content for FPDOCP</p></td>
</tr>
<tr>
<td><p><tt><span class="code"> <span class="kw">end</span><span class="sym">;</span></span></tt></p></td>
</tr>
</table>
<h2>Inheritance</h2>
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><p><tt><span class="code"><a href="../parsers/tparser.html">TParser</a></span></tt></p></td>
<td><p>&nbsp;&nbsp;</p></td>
<td><p class="cmt">Code parser for a single source file, find FPDOCP comments and create XML entries for FPDOCP</p></td>
</tr>
<tr>
<td align="center">|</td>
</tr>
<tr>
<td align="center"><p><tt><span class="code">TStringList</span></tt></p></td>
</tr>
<tr>
<td align="center">?</td>
</tr>
<tr>
<td align="center"><p><tt><span class="code">TObject</span></tt></p></td>
</tr>
</table>
</body>
</html>
